#pragma once

#include "framework.h"
#include "Scene.h"

using namespace poly;
using namespace graphics;

class Game : public IGame
{
public:
	Game( HINSTANCE hInst, HWND hWnd );
	~Game();

	virtual void onCreateGraphics( D3DDevice device );
	virtual void onResetGraphics( D3DDevice device );

	virtual void onFrameMove(float dt);
	virtual void onFrameRender(float dt);

	virtual void onLostGraphics();
	virtual void onDestroyGraphics();

private:
	D3DDevice	m_d3dDevice;

	SInput		m_input;
	Camera		m_camera;

	Renderer	renderer1;
	Node Scene;
	Node Node1;
	Geometry	a;
	Geometry	b;
	float speed;
	float3 x;
};
